// https://nuxt.com/docs/api/configuration/nuxt-config

export default defineNuxtConfig({
  devtools: { enabled: true },
  modules: ["@nuxtjs/tailwindcss", "@element-plus/nuxt"],
  vite: {
    css: {
      preprocessorOptions: {
        scss: {
          // additionalData: `@use "@/assets/css/theme.scss" as *;`,
          additionalData: `@use "@/assets/css/element-variables.scss" as *;`,
        },
      },
    },
  },
  elementPlus: {
    // icon: 'ElIcon',
    importStyle: "scss",
    // themes: ['dark'],
  },
  devServer: {
    host: "0.0.0.0",
    port: 3000,
  },
});
